package com.xj0927.springcloud;

import com.xj0927.myRuler.MyselfRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @Author: xj0927
 * @Description:
 * @Date Created in 2020-10-22 20:11
 * @Modified By:
 */
@SpringBootApplication
@EnableEurekaClient //服务调用者也是以客户端身份入驻
//@RibbonClient(name = "CLOUD-PAYMENT-SERVICE",configuration = MyselfRule.class)  //告诉调用者 对于某个服务我需要用自己定制的负载均衡算法
public class OrderMain80 {
    public static void main(String[] args) {
        SpringApplication.run(OrderMain80.class,args);
    }
}
